<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">

    </ul>
    <br>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">今日统计&nbsp;&nbsp;&nbsp;</h3>
        </div>
        <table class="table table-hover table-bordered table-list">
            <tr>
                <td width="20%">今日盈利 : {$data['day_profit']}</td>
                <td width="20%">今日充值 : {$data['day_recharge']}</td>
                <td width="20%">今日代付 : {$data['day_pay']}</td>
                <td width="20%">今日提币 : {$data['day_cash']}</td>
            </tr>
        </table>
    </div>
    <br>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">本周统计&nbsp;&nbsp;&nbsp;</h3>
        </div>
        <table class="table table-hover table-bordered table-list">
            <tr>
                <td width="20%">本周盈利 : {$data['monday_profit']}</td>
                <td width="20%">本周充值 : {$data['monday_recharge']}</td>
                <td width="20%">本周代付 : {$data['monday_pay']}</td>
                <td width="20%">本周提币 : {$data['monday_cash']}</td>
            </tr>
        </table>
    </div>
    <br>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">本月统计&nbsp;&nbsp;&nbsp;</h3>
        </div>
        <table class="table table-hover table-bordered table-list">
            <tr>
                <td width="20%">本月盈利 : {$data['month_profit']}</td>
                <td width="20%">本月充值 : {$data['month_recharge']}</td>
                <td width="20%">本月代付 : {$data['month_pay']}</td>
                <td width="20%">本月提币 : {$data['month_cash']}</td>
            </tr>
        </table>
    </div>
    <br>
    <iframe src="{:url('pay/Cash/pay')}" style="width:100%;height: 800px;" frameborder="0" id="appiframe-0" class="appiframe"></iframe>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>
<script>

    function addAction(url, title, options) {
        var index = layer.open({
            type: 2,
            title:title,
            area: ['700px', '450px'],
            fixed: false, //不固定
            maxmin: true,
            content: url,
        });
    }

    $(document).ready(function () {
        Wind.css('treeTable');
        Wind.use('treeTable', function () {
            $("#menus-table").treeTable({
                indent: 20,
                initialState: 'expanded'
            });
        });
    });
</script>
</body>
</html>